import request from '@/utils/request'

// 帖子表列表
export function apiPostLists(params: any) {
    return request.get({ url: '/content.post/lists', params })
}

// 添加帖子表
export function apiPostAdd(params: any) {
    return request.post({ url: '/content.post/add', params })
}

// 编辑帖子表
export function apiPostEdit(params: any) {
    return request.post({ url: '/content.post/edit', params })
}

// 删除帖子表
export function apiPostDelete(params: any) {
    return request.post({ url: '/content.post/delete', params })
}

// 帖子表详情
export function apiPostDetail(params: any) {
    return request.get({ url: '/content.post/detail', params })
}